package com.wt.admin.mapper.ai;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wt.admin.domain.dto.ai.KnowledgeTitleDTO;
import com.wt.admin.domain.entity.ai.KnowledgeTitleEntity;
import com.wt.admin.domain.vo.ai.KnowledgeTitleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface KnowledgeTitleMapper extends BaseMapper<KnowledgeTitleEntity> {

    @Select("select * from ai_knowledge_title order by create_time desc")
    List<KnowledgeTitleVO> titleList(KnowledgeTitleDTO data);


}
